package test;

/**
 * @Auther:SunPeng
 * @Date:2020/7/29-07-29
 * @Description:test
 * @version:1.0
 */
public class test {
    public static void main(String[] args) {
        String str ="1,张三,89";
        String[] strs =str.split(",");
        System.out.println(Integer.valueOf(strs[0]));

    }
}
